package com.xbongbong.paas.pojo.workflow.settings.dto;

import com.xbongbong.paas.toolbox.wrap.BaseDTO;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotNull;

/**
 * @author 吴峰
 * @date 2021/05/14 15:05
 */
@Getter
@Setter
@ToString
public class WorkflowEnableDTO extends BaseDTO {

    private static final long serialVersionUID = 1939879033581661619L;
    @NotNull(message = "{dto.msg.workflowId.NotNull}")
    private Long workflowId;

    @NotNull(message = "{dto.msg.WorkflowDeleteDTO.enable.NotNull}")
    private Integer enable;
}
